<!DOCTYPE html>
<!--suppress ALL -->
<html lang="zh-cn">
<head>
    {{template "header" .}}
    <link href="{{.Dir}}/static/easyUI/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css">
    <link href="{{.Dir}}/static/easyUI/themes/icon.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="{{.Dir}}/static/kindeditor/themes/default/default.css"/>
    <!-- Custom CSS -->
    <script charset="utf-8" src="{{.Dir}}/static/kindeditor/kindeditor-min.js"></script>
    <script charset="utf-8" src="{{.Dir}}/static/kindeditor/lang/zh_CN.js"></script>
    <title>FrankZhang的博客空间</title>
</head>
<body>
<noscript>请启用您浏览器的 JavaScript 选项！</noscript>
{{template "nav" .}}
<!--<div class="container main-container">-->
<!--<div class="row">-->
<!--<div class="col-md-12">-->
<!--<div class="box">-->
<!--<div class="cell slim">-->
<!--<div class="page-header">-->
<!--<h1>{{ .Topic.Title}}</h1>-->
<!--</div>-->
<!--<hr>-->
<!--<div style="min-height: 500px">-->
<!--{{ .Topic.Content}}-->
<!--</div>-->
<!--<hr>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--&lt;!&ndash;占位&ndash;&gt;-->
<!--<div class="row" style="min-height: 20px">-->
<!--<div class="col-md-12">-->
<!--分享图标啥的-->
<!--</div>-->
<!--</div>-->
<!--&lt;!&ndash;占位&ndash;&gt;-->
<!--<div class="row" style="margin-top: 20px">-->
<!--<div class="col-md-3">-->
<!--用户头像-->
<!--</div>-->
<!--<div class="col-md-9">-->
<!--<div>-->
<!--<textarea></textarea>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->


<!-- Post Header -->
<header class="intro-header" style="background-image: url('/static/img/favicon.png')">
    <div class="container">
        <div class="row">
            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
                <div class="post-heading">
                    <h1>{{ .Topic.Title}}</h1>
                    <h3 class="post-subtitle">{{ .Topic.Category}}</h3>
                    <span class="meta">Create By {{if .Topic.Author}}{{ .Topic.Author}}{{else}}佚名{{end}},{{dateformat .Topic.Created "2006-01-02 15:04:05"}}</span>
                </div>
            </div>
        </div>
    </div>
</header>

<!-- Post Content -->
<article>
    <div class="container">
        <div class="row">
            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1" style="min-height: 300px">
                {{str2html .Topic.Content}}
            </div>
            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
                <hr>
                <ul class="pager">
                    <li class="previous">
                        <a href="/" data-toggle="tooltip" data-placement="top" title="previous">&larr; 上一篇</a>
                    </li>
                    <li class="next">
                        <a href="/" data-toggle="tooltip" data-placement="top" title="next">下一篇 &rarr; </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</article>

<hr>

</body>
{{template "js" .}}
</html>